package util;

import java.util.Calendar;
import java.util.GregorianCalendar;

public class DateUtil {
    public static String dateString(GregorianCalendar d){
        return (d.get(Calendar.MONTH) + 1) + "/" + d.get(Calendar.DATE) + "/" + (d.get(Calendar.YEAR)) + " " + d.get(Calendar.HOUR_OF_DAY) + ":" + d.get(Calendar.MINUTE);
    }
}
